import Vue from 'vue'
// import 'signalr'
import App from './App.vue'

import './style/style.scss'

import axios from './http'

import VConsole from 'vconsole/dist/vconsole.min.js' //import vconsole

if (process.env.VUE_APP_ENV === 'test' || process.env.NODE_ENV !== 'production') {
    let vConsole = new VConsole() // 初始化
}



import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'

var options = {
  tapToClose: true,
  clickToCloseNonZoomable: true,
}
Vue.use(preview,options)

Vue.prototype.$http = axios

// import '../static/vendor/jquery-1.10.2.min.js'
// import '../static/vendor/jquery.signalR-2.2.2.min.js'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
